from django.shortcuts import render
from rest_framework.decorators import api_view
from rest_framework.response import Response

# Create your views here.
@api_view(['GET'])
def apiOverview(request):
	api_urls = {
		'GetFundTransactionRecord': '/transactionrecord-list/<str:fid>/<str:lastdays>/<str:reserve>/',
		'CreateFundTransactionRecord': '/fundtransactionrecord-create/',
		'FundtransactionrecordDelete': '/fundtransactionrecord-delete/<str:pk>/',
		'FundRecordCreate': '/fundrecord-create/',
		'FundRecordList': '/fundrecords/<str:start_fid>/<str:end_fid>/',
		'SearchRecord': '/fundrecords/search/<str:s_id>/'
		}
	return Response(api_urls)